<script>
import $store from '@/store'
export default {
  onLaunch: async function (options) {
    console.log('App Launch')
    // 隐藏原生导航栏 使用自定义底部导航
    // #ifdef MP-WEIXIN
    // const path = `/${options.path}`
    // if (TABBAR.includes(path)) uni.hideTabBar()
    // #endif

    // 初始化APP
    $store.dispatch('app/SetAppInitInfo')
  },

  onShow: function () {
    console.log('App Show')
  },
  onHide: function () {
    console.log('App Hide')
  },
}
</script>

<style lang="scss">
/*每个页面公共css */
@import '@/styles/index.scss';
</style>
